package com.tuanzi.loan.business.entity.miniApps.articleLibrary;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.tuanzi.loan.business.constants.settlement.CompanyCooperationMode;

import lombok.Data;

@Data
@Entity
@Table(name = "LOAN_MINI_APPS_ARTICLE")
public class MiniAppsArticle implements Serializable{

	private static final long serialVersionUID = 54215326113464324L;
	
	@Id
	@Column(name = "ID")
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Long id;
	
	@Column(name = "SOURCE_NAME")
	private String sourceName;
	
	@Column(name = "SOURCE_ID")
	private String sourceId;
	
	@Column(name = "TITLE")
	private String title;
	
	@Column(name = "RECOMMEND_MAIN_IMAGE")
	private String recommendMainImage;
	
	@Column(name = "ONLINE_STATUS")
	private Integer onlineStatus;
	
	@Column(name = "RECOMMEND_STATUS")
	private Integer recommendStatus;
	
	@Column(name = "RECOMMEND_TIME")
	private Date recommendTime;
	
	@Column(name = "ONLINE_TIME")
	private Date onlineTime;
	
	@Column(name = "CREATE_TIME")
	private Date createTime;
	
	@Column(name = "READER")
	private Integer reader;
	
	@Column(name = "ORIGINAL_CONTENT")
	private String originalContent;
	
	@Column(name = "CONTENT")
	private String content;
	
	@Column(name = "STATUS")
	private Integer status;
	
	@Column(name = "UPDATE_TIME")
	private Date updateTime;
	
	@Column(name = "TAG")
	private String tag;
	
	@Column(name = "SOURCE_URL")
	private String sourceUrl;
	
	@Column(name = "DEPLOY_TIME")
	private Long deployTime;

}













